package com.doraro.coal.moudle.purch.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * @author doraro
 * @since 2019-09-30 16:51
 */
@Getter
public enum ExecStatus implements IEnum<Integer> {

    /**
     * 采购执行枚举
     */
    Release(0,"已下达"),
    Submit(1,"已提交"),
    Published(2,"已发布"),
    Invalid(3,"已作废"),
;
    ExecStatus(Integer value, String desc){
        this.value = value;
        this.desc = desc;
    }

    private Integer value;
    @JsonValue
    private String desc;
    @Override
    public Integer getValue() {
        return this.value;
    }


}
